package com.zzw.zim.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 前端页面跳转控制器
 *
 * @author XiaoJie
 * 2025/8/26 17:00
 */
@Controller
public class TempController {
    @GetMapping("/")
    public String insert(Model model) {
        return "index";
    }

    @GetMapping("/temp/login")
    public String login(Model model) {
        return "login_new";
    }

    @GetMapping("/temp/app_index")
    public String manage_index(Model model) {
        return "app_index";
    }

    @GetMapping("/temp/user_page")
    public String user_page(Model model) {
        return "user_page";
    }

    @GetMapping("/temp/manage")
    public String role_page(Model model) {
        return "app_manag";
    }

    @GetMapping("/temp/role_management")
    public String uri_page(Model model) {
        return "role_management";
    }

    @GetMapping("/temp/app_admin")
    public String app_store_admin(Model model) {
        return "app_admin";
    }

    @GetMapping("/temp/app_management")
    public String app_management(Model model) {
        return "app_management";
    }

    @GetMapping("/temp/register")
    public String register(Model model) {
        return "register";
    }

}
